-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add visionOS support #1029
Add visionOS support #1029
Conversation
We were definitely working on the same thing; I made almost the same changes. The only differences are the XROS_DEPLOYMENT_TARGET and this additional check on lines 2658 and 2674 // there is no -m{}os-version-min for watchos, tvos, visionos
if matches!(os, AppleOs::Ios | AppleOs::MacOs) {
cmd.args.push(
format!("-m{}os-version-min={}", sdk_details.sdk_prefix, min_version)
.into(),
);
} |
There is, see Clang's docs for the However, you right that it does not exist for visionOS, I've opened llvm/llvm-project#88271 for that. This is somewhat problematic, as we need to tell Clang about the desired deployment target. Perhaps we can set |
Using just Have opened #1030 to track removing the other flags from Apple targets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :D
Thank you! |
I haven't added this to CI, as the Rust builds themselves are still somewhat broken until rust-lang/libc#3568 lands.
CC @BlackHoleFox